﻿using System.Collections.Generic;
using System.Threading.Tasks;

namespace Bmz.Authorization
{
    internal interface IAuthorizeAttributeHelper
    {
        Task AuthorizeAsync(IEnumerable<IBmzAuthorizeAttribute> authorizeAttributes);

        Task AuthorizeAsync(IBmzAuthorizeAttribute authorizeAttribute);

        void Authorize(IEnumerable<IBmzAuthorizeAttribute> authorizeAttributes);

        void Authorize(IBmzAuthorizeAttribute authorizeAttribute);
    }
}
